AppOpenAdLoader

Full-screen app open ads.

Parameters

context

The activity context the view is running in, through which it can access the current theme, resources, etc. In particular, it uses the window manager and theme in this context to present its UI.

Constructors

Link copied to clipboard
constructor(context: Context)

Functions

Link copied to clipboard

Cancel active loading of the app open ads.

Link copied to clipboard
suspend fun loadAd(adRequest: AdRequest): AppOpenAdLoadResult

Starts loading the ad on a background thread. Suspends until the result is available.

fun loadAd(adRequest: AdRequest, listener: AppOpenAdLoadListener)

Starts loading the ad on a background thread.